#import "OmPersonalSettingVCTableViewCellTypeSex.h"
@interface OmPersonalSettingVCTableViewCellTypeSex ()
@property (weak, nonatomic) IBOutlet UIImageView *iconImageView;
@property (weak, nonatomic) IBOutlet UILabel *titleLabel;
@property (weak, nonatomic) IBOutlet UILabel *sexLabel;
@end
@implementation OmPersonalSettingVCTableViewCellTypeSex
- (void)awakeFromNib {
    [super awakeFromNib];
    self.selectionStyle = UITableViewCellSelectionStyleNone;
}
- (void)setModel:(NSDictionary *)model {
    _model = model;
    [self.iconImageView setImage:IMAGE_NAMED(model[@"image"])];
    self.titleLabel.text = model[@"title"];
}

- (void)setSex:(NSInteger)sex {
    _sex = sex;
    self.sexLabel.text = ASLocalizedString(self.sex == 1?@"男":@"女");
}
@end
